/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "供应商表",TableName = "suppliermodel")]
    public partial class suppliermodel:BaseEntity
    {
        /// <summary>
       ///供应商id
       /// </summary>
       [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
       [Key]
       [Display(Name ="供应商id")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long Id { get; set; }

       /// <summary>
       ///供应商编号
       /// </summary>
       [Display(Name ="供应商编号")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string SupplierCode { get; set; }

       /// <summary>
       ///供应商名称
       /// </summary>
       [Display(Name ="供应商名称")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string SupplierName { get; set; }

       /// <summary>
       ///供应商分类
       /// </summary>
       [Display(Name ="供应商分类")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? SupplierType { get; set; }

       /// <summary>
       ///联系人
       /// </summary>
       [Display(Name ="联系人")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string SupplierContact { get; set; }

       /// <summary>
       ///联系电话
       /// </summary>
       [Display(Name ="联系电话")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string SupplierTel { get; set; }

       /// <summary>
       ///电子邮箱
       /// </summary>
       [Display(Name ="电子邮箱")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string SupplierEmail { get; set; }

       /// <summary>
       ///进货部门
       /// </summary>
       [Display(Name ="进货部门")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string DeptId { get; set; }

       /// <summary>
       ///进货负责人
       /// </summary>
       [Display(Name ="进货负责人")]
       [Column(TypeName="bigint")]
       [Editable(true)]
       public long? SupplierPersonId { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string SupplierState { get; set; }

       /// <summary>
       ///供应商地址
       /// </summary>
       [Display(Name ="供应商地址")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string SupplierAddr { get; set; }

       /// <summary>
       ///供应商备注
       /// </summary>
       [Display(Name ="供应商备注")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string SupplierDesc { get; set; }

       /// <summary>
       ///删除标识
       /// </summary>
       [Display(Name ="删除标识")]
       [Column(TypeName="sbyte")]
       public sbyte? IsDel { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(15)]
       [Column(TypeName="nvarchar(15)")]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(15)]
       [Column(TypeName="nvarchar(15)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? ModifyDate { get; set; }

       /// <summary>
       ///创建人id
       /// </summary>
       [Display(Name ="创建人id")]
       [Column(TypeName="int")]
       public int? CreateID { get; set; }

       /// <summary>
       ///修改人id
       /// </summary>
       [Display(Name ="修改人id")]
       [Column(TypeName="int")]
       public int? ModifyID { get; set; }

       /// <summary>
       ///客户财务表
       /// </summary>
       [Display(Name ="客户财务表")]
       [Column(TypeName="bigint")]
       public long? FinanceId { get; set; }

       
    }
}